package com.fowo.api.model.amazon.storage.fee.longterm;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.fowo.api.common.excel.ImageConvert;
import com.fowo.api.sys.entity.SysFile;
import java.util.List;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 亚马逊长期仓储费表 导入导出辅助模型 */
@Getter
@Setter
public class AmazonStorageFeeLongtermExcelPo {

  @ExcelProperty(value = "图片", converter = ImageConvert.class)
  private List<SysFile> img;

  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "时间")
  private java.util.Date snapshotDate;

  @Size(max = 50, message = "MSKU长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "MSKU")
  private String sku;

  @Size(max = 50, message = "FNSKU长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "FNSKU")
  private String fnsku;

  @Size(max = 5000, message = "品名长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "品名")
  private String name;

  @Size(max = 50, message = "sku长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "sku")
  private String productSku;

  @Size(max = 50, message = "ASIN长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "ASIN")
  private String asin;

  @Size(max = 5000, message = "标题长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "标题")
  private String productName;

  @Size(max = 50, message = "店铺长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "店铺")
  private String sidShopName;

  @ExcelIgnore
  @ExcelProperty(value = "店铺")
  private Long sid;

  @Size(max = 50, message = "国家长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "国家")
  private String countryName;

  @ExcelIgnore
  @ExcelProperty(value = "国家")
  private Long country;

  @Size(max = 50, message = "状况长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "状况")
  private String condition;

  @Size(max = 50, message = "币种长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "币种")
  private String currency;

  @Size(max = 50, message = "短期范围收费商品量长度不能超过20")
  @ExcelProperty(value = "短期范围收费商品量")
  private Integer qtyChargedShortTimeRangeLongTermStorageFee;

  @Size(max = 50, message = "短期范围收费长度不能超过20")
  @ExcelProperty(value = "短期范围收费")
  private java.math.BigDecimal shortTimeRangeLongTermStorageFee;

  @Size(max = 50, message = "长期范围收费商品量长度不能超过20")
  @ExcelProperty(value = "长期范围收费商品量")
  private Integer qtyChargedLongTimeRangeLongTermStorageFee;

  @Size(max = 50, message = "长期范围收费长度不能超过20")
  @ExcelProperty(value = "长期范围收费")
  private java.math.BigDecimal longTimeRangeLongTermStorageFee;

  @Size(max = 50, message = "单个商品体积长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "单个商品体积")
  private String perUnitVolume;

  @Size(max = 50, message = "轻小商品长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "轻小商品")
  private String enrolledInSmallAndLight;
}
